home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / GCC 1.37.1r14 / usr / gcc archive / gcc / gcc.rsrc / TEXT_403.txt < prev    next >
Encoding:
Text File  |  1994-02-08  |  1.2 KB  |  23 lines

  1. Compiler
  2.  
  3. This is the most complex part of the operation, and typically the least reliable.
  4. given a .i file output by the preprocessor, or in the trivial case a .c file
  5. having no #includes or #defines, this stage will generate a .s file which consists
  6. of 68000 assembly language.
  7.  
  8. To use the compiler, simply select a .i or valid .c text editor window and select
  9. the GCC/compile menu option. A new .s window will appear, together with a
  10. list of errors/warnings. This option may crash without warning in the event
  11. of low memory or various complicated conditions. Make sure you save your
  12. editor windows before invoking the compiler.
  13.  
  14. Typically, you can ignore some warnings and still proceed to the next stage
  15. (assembly), but any errors reported will result in incorrect code generation,
  16. which will result in mysterious crashes or strange diagnostics when you
  17. try to assemble and/or link. Some warnings will prevent your program
  18. from working, so you are advised to investigate all diagnostics.
  19.  
  20. Users familiar with the style of assembly language used in Apple documentation
  21. can invoke the GCC/compile (MPW) option to see their code generated.
  22. This output must not be used as input to the built-in assembler, but may be
  23. useful for debugging.